package com.aaa.common.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @FileName: CustomExceptioin
 * @Description: 通用自定义异常
 * @Author: zhz
 * @CreateTime: 2025/7/2 14:04
 * @Version: 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomException extends RuntimeException{

    //错误码
   private Integer errorCode;
   //错误信息
   private String errorMessage;
}
